<?php
return $config = array(
    'SHOW_PAGE_TRACE'=>false,
    //url地址统一修改为小写，URL模式为rewrite
    'URL_CASE_INSENSITIVE'  =>  true,
    'URL_MODEL' => 2,

    'APP_SUB_DOMAIN_DEPLOY' =>  1,   // 是否开启子域名部署
    'APP_SUB_DOMAIN_RULES'  =>  array(
        'babyvideo' => 'Home',
        'babyadmin' => 'Admin',
    ),  // 子域名部署规则

    //加载自定义标签库
    'TAGLIB_BUILD_IN' => 'Cx,Lib\TagLib\Ty',
    'TAGLIB_PRE_LOAD' => 'Lib\TagLib\Ty',

    'SESSION_AUTO_START' =>true,


    //重定义Private文件位置
    'TMPL_PARSE_STRING' => array(
        '__PRIVATE__' => '/' . __ROOT__ . MODULE_NAME . '/Private', //对应模块独立private文件位置
    ),
    'LOAD_EXT_CONFIG'	=>'dbconfig',

    //上传图片插件配置
    'SWFUPLOAD_PATH' => APP_PATH . 'Public/'.'Js/' . 'swfupload/', //Public文件位置
    'CONFIG_MIN_FILE' => true,

    'UPLOAD_CAR_IMG_PATH' => 'car_img/',
    'UPLOAD_VIDEO_PATH' => 'baby_video/',
    'UPLOAD_VIDEO_FINAL_PATH' => 'baby_video_final/',

    //微信公众号参数
    'WX_APPID' => 'wx7f886072b2204ab6',
    'WX_APPSECRET' => 'be91fd6899429b681cf71aa2a75c1b2b',

    //微信支付参数
    'WX_PAY_body'    => '天津芽芽宝贝',                             //微信支付body
    'WX_PAY_subject' => '宝贝出生视频',                         //微信支付subject
    'WX_return_param'=> 'zhfancon',                             //微信异步通知原样返回数据

    //域名（用于支付等）
    'domain-ly'      => 'https://babyvideo.zhfancon.com'      //当前域名（岚悦科技） https://lybabyvideo.zhfancon.com

);

